﻿using System;
using System.Net;
using System.ComponentModel;

namespace FbHelperWP7NonUi.BookStorage.DropBoxStorage.AsyncHelpClasses
{
    internal sealed class GetFileEntryData : AbstractAsyncData
    {
        private readonly string filePath;
        private readonly AsyncRequestCompleted<GetFileEntryResult> callback;

        public GetFileEntryData( BackgroundWorker worker, string filePath, AsyncRequestCompleted<GetFileEntryResult>  callback )
            :base(worker)
        {
            this.filePath = filePath;
            this.callback = callback;
        }

        public string FilePath
        {
            get
            {
                return filePath;
            }
        }

        public AsyncRequestCompleted<GetFileEntryResult> Callback
        {
            get
            {
                return callback;
            }
        }
    }
}
